package mvndemo.hello;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

import com.opensymphony.xwork2.ActionSupport;
@ParentPackage("struts-default") 
@Namespace("/") 
@Results({
	   @Result(name="success", location="/page/success.jsp"),
	   @Result(name="input", location="/index.jsp")
	})

public class AnoAction extends ActionSupport{
	@Action("anoAction")
	public String testano(){
		return "success";
	}

}
